package com.xxiongb.login.controller;

import java.security.Principal;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.xxiongb.login.constant.RoleConstants;

@RestController
public class UserController {
	@RequestMapping(RoleConstants.ROLE_USER_STANDARD + "/login")
	public Principal login(Principal user) {
		return user;
	}
	
	
	public String logout(){
		return "";
	}

}
